<?php

namespace App\Library\Requests\ProductOrder;

use App\Library\Requests\Base\BasePageRequest;

class ProductOrderSellerPageRequest extends BasePageRequest
{
    public function rules(): array
    {
        return array_merge(parent::rules(), [
            'shopOrderExt.status' => 'nullable|integer|between:0,5',
            'sellUserId' => 'nullable|integer|min:0',
            'startAt' => 'nullable|date',
            'endAt' => 'nullable|date',
        ]);
    }
}
